package com.adaxi.adc.business.manager.mapper;

import com.adaxi.adc.business.manager.pojo.PassengerTrip;
import com.adaxi.adc.business.manager.vo.WeekPassengerVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author Lenovo
* @description 针对表【adc-passenger-trip(乘客行程表)】的数据库操作Mapper
* @createDate 2023-10-01 21:26:20
* @Entity com.adaxi.adc.business.manager.pojo.PassengerTrip
*/
@Mapper
public interface PassengerTripMapper extends BaseMapper<PassengerTrip> {

    /**
     * 统计七天内每天的乘客人数
     */
    List<WeekPassengerVo> weekPassenger();


    List<PassengerTrip> passengerTripid(Long id);
    /**
     * 近七天的活跃用户
     */
    int createPassenger();
}




